<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
{if $smarty.get.tpl_act!='client_filter'}
		<td width="1">
		{if !$smarty.get.order_id && !$smarty.get.tpl_act}
			<span style="width:150px; background:#DBE1E5">
			<table width="100%" height="25" cellpadding="0" cellspacing="0">
				<tr>
					<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr><a href="index.php?admin=1{if $smarty.get.form_object_id}&form_object_id={$smarty.get.form_object_id}{/if}" target="_self">{t t='Sąrašas'}</a></td>
				</tr>
			</table>			
			</span>
		{else}
			<span style="width:150px; height:25px;">
			<table width="100%" height="25" cellpadding="0" cellspacing="0">
				<tr>	
					<td bgcolor="#fffff" height="2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
				</tr>
				<tr>
					<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					<td bgcolor="#EDF0F2" style="padding:0px 10px 0px 10px; color:#767879; text-align:center"><nobr><a href="index.php?admin=1{if $smarty.get.form_object_id}&form_object_id={$smarty.get.form_object_id}{/if}" target="_self">{t t='Sąrašas'}</a></td>
					<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				</tr>
				<tr>	
					<td bgcolor="#fffff" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
				</tr>
				<tr>
					<td bgcolor="#C4CDD2" height="1" colspan="3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>				
				</tr>
			</table>
			</span>		
		{/if}
		</td>					
		<!-- * archyvas -->
		<td width="1">		
		{if !$smarty.get.order_id && $smarty.get.tpl_act=='order_archive'}
			<span style="width:150px; background:#DBE1E5">
			<table width="100%" height="25" cellpadding="0" cellspacing="0">
				<tr>
					<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr><a href="index.php?admin=1&tpl_act=order_archive" target="_self">{t t='Archyvas'}</a></td>
				</tr>
			</table>			
			</span>
		{else}
			<span style="width:150px; height:25px;">
			<table width="100%" height="25" cellpadding="0" cellspacing="0">
				<tr>	
					<td bgcolor="#fffff" height="2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
				</tr>
				<tr>
					<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					<td bgcolor="#EDF0F2" style="padding:0px 10px 0px 10px; color:#767879; text-align:center"><nobr><a href="index.php?admin=1&tpl_act=order_archive" target="_self">{t t='Archyvas'}</a></td>
					<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				</tr>
				<tr>	
					<td bgcolor="#fffff" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
				</tr>
				<tr>
					<td bgcolor="#C4CDD2" height="1" colspan="3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>				
				</tr>
			</table>
			</span>				
			{/if}
		</td>
		<!-- /* archyvas -->		
		
		{ext->class_function class="shop_cart" module="statistic" assign="is_module"}
		{if $is_module == 1}
			<!-- * stats -->		
			<td width="1">		
			{if !$smarty.get.order_id && $smarty.get.tpl_act=='order_stats'}
				<span style="width:150px; background:#DBE1E5">
				<table width="100%" height="25" cellpadding="0" cellspacing="0">
					<tr>
						<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr><a href="index.php?admin=1&tpl_act=order_stats" target="_self">{t t='Statistika'}</a></td>
					</tr>
				</table>			
				</span>
			{else}
				<span style="width:150px; height:25px;">
				<table width="100%" height="25" cellpadding="0" cellspacing="0">
					<tr>	
						<td bgcolor="#fffff" height="2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
					</tr>
					<tr>
						<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
						<td bgcolor="#EDF0F2" style="padding:0px 10px 0px 10px; color:#767879; text-align:center"><nobr><a href="index.php?admin=1&tpl_act=order_stats" target="_self">{t t='Statistika'}</a></td>
						<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					</tr>
					<tr>	
						<td bgcolor="#fffff" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
					</tr>
					<tr>
						<td bgcolor="#C4CDD2" height="1" colspan="3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>				
					</tr>
				</table>
				</span>				
				{/if}
			</td>
			<!-- /* stats -->	
		{/if}
		<!-- * settings -->
		<td width="1">		
		{if !$smarty.get.order_id && $smarty.get.tpl_act=='settings'}
			<span style="width:150px; background:#DBE1E5">
			<table width="100%" height="25" cellpadding="0" cellspacing="0">
				<tr>
					<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr><a href="index.php?admin=1&tpl_act=settings" target="_self">{t t='Nustatymai'}</a></td>
				</tr>
			</table>			
			</span>
		{else}
			<span style="width:150px; height:25px;">
			<table width="100%" height="25" cellpadding="0" cellspacing="0">
				<tr>	
					<td bgcolor="#fffff" height="2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
				</tr>
				<tr>
					<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					<td bgcolor="#EDF0F2" style="padding:0px 10px 0px 10px; color:#767879; text-align:center"><nobr><a href="index.php?admin=1&tpl_act=settings" target="_self">{t t='Nustatymai'}</a></td>
					<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				</tr>
				<tr>	
					<td bgcolor="#fffff" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
				</tr>
				<tr>
					<td bgcolor="#C4CDD2" height="1" colspan="3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>				
				</tr>
			</table>
			</span>				
			{/if}
		</td>
		<!-- /* archyvas -->	
{/if}
		{if $smarty.get.tpl_act=='client_filter'}
		<td width="1">	
		{if !$smarty.get.order_id}
		<!-- * uzsakumu istorija -->				
					
			<span style="width:150px; background:#DBE1E5">
			<table width="100%" height="25" cellpadding="0" cellspacing="0">
				<tr>
					<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr><a href="index.php?admin=1&body=admin/body/modules/shop_cart/index.html&module=shop_cart&tpl_act=client_filter&client_id={$smarty.get.client_id}" target="_self">{t t='Kliento užsakymų istorija'}</a></td>
				</tr>
			</table>			
			</span>		
		
		<!-- /* uzsakymu istorija -->			
		{else}
			<span style="width:150px; height:25px;">
			<table width="100%" height="25" cellpadding="0" cellspacing="0">
				<tr>	
					<td bgcolor="#fffff" height="2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
				</tr>
				<tr>
					<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					<td bgcolor="#EDF0F2" style="padding:0px 10px 0px 10px; color:#767879; text-align:center"><nobr><a href="index.php?admin=1&body=admin/modules/shop_cart/index.html&module=shop_cart&tpl_act=client_filter&client_id={$smarty.get.client_id}" target="_self">{t t='Kliento užsakymų istorija'}</a></td>
					<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				</tr>
				<tr>	
					<td bgcolor="#fffff" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
				</tr>
				<tr>
					<td bgcolor="#C4CDD2" height="1" colspan="3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>				
				</tr>
			</table>
			</span>			
			{/if}	
			</td>
		{/if}	
		{if $smarty.get.order_id}
		<td width="1">
			<span style="width:150px; background:#DBE1E5">
			<table width="100%" height="25" cellpadding="0" cellspacing="0">
				<tr>
					<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr>{t t='Užsakymo turinys'}</a></td>
				</tr>
			</table>
			</span>				
		</td>
		{/if}
		<td height="25" valign="bottom"><span style="background-color:#C4CDD2; width:100%"><img src="client/img/spacer.gif" class="spacer" alt="" /></span></td>		
	</tr>
</table>